package com.tang.sys.service;

import com.tang.sys.ResponseResult;
import com.tang.sys.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 评论表 服务类
 * </p>
 *
 * @author shankaka
 * @since 2023-04-14
 */
public interface ICommentService extends IService<Comment> {

    ResponseResult commentList(String commentType, Long articleId, Integer pageNum, Integer pageSize);

    ResponseResult addComment(Comment comment);

    ResponseResult deleteCommentId(Long id);
}
